
from django.db import models

# Create your models here.

class Post(models.Model):
    title = models.CharField(max_length=255)
    # 显示 在首页的介绍
    intro = models.TextField()
    # 显示 正文 markdown
    body = models.TextField()
    # 创建的日期 显示
    created_at = models.DateTimeField(auto_now_add=True)

    
